#include <stdio.h>
#include <arpa/inet.h>

int main ()
{
    int a = 0x12345678 ;
    printf("%#x",htonl(a));
    return 0 ;
    
}